//
//  Person.h
//  05_Work
//
//  Created by dllo on 16/7/8.
//  Copyright © 2016年 yh. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
@property (nonatomic, retain) NSString *name;
@property (nonatomic, assign) NSInteger age;

- (instancetype)initWithName:(NSString *)name age:(NSInteger)age;

- (NSComparisonResult)compareName:(Person *)per;

- (NSComparisonResult)compareAge:(Person *)per;



@end
